package com.guigu.pd.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 线路类型表
 * 
 * @author deyran
 * @email deyran@gmail.com
 * @date 2022-07-19 19:09:01
 */
@Data
@TableName("pd_transport_line_type")
public class TransportLineTypeEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private String id;
	/**
	 * 线路类型名称
	 */
	private String name;
	/**
	 * 线路类型编号
	 */
	private String typeNumber;
	/**
	 * 起始地机构类型
	 */
	private String startAgencyType;
	@TableField(exist = false)
	private String startAgencyTypename;
	/**
	 * 目的地机构类型
	 */
	private String endAgencyType;
	@TableField(exist = false)
	private String endAgencyTypename;
	/**
	 * 最后更新时间
	 */
	private Date lastUpdateTime;
	/**
	 * 最后更新人
	 */
	private String updater;
	/**
	 * 状态  0：禁用   1：正常
	 */
	@TableField("`status`")
	@TableLogic(value = "1",delval = "0")
	private Integer status;
	/**
	 * 目的地机构id
	 */
	@TableField(exist = false)
	private String AgencyId;
	@TableField(exist = false)
	private String Agencyname;
}
